Hacker News new | ask | show | jobs
by rleisti 6207 days ago
What I'd really like, is a way to express xml in xml, so I can be super-productive all day long recursively writing a single xml document.
2 comments

You want XSLT. ;-)
XPath is far too concise. It needs an XML encoding. Something like PMML, where math looks like

  <DefineFunction name="frob" optype="continuous"> 
    <ParameterField name="x" optype="continuous"/> 
    <Apply function="+">
      <FieldRef field="x"/>
      <Constant>42</Constant>
    </Apply>
  </DefineFunction>
I wish I were joking.
that comment was gold
I think you'd also need a way to express that xml xml using xml as well.
XXMLML?