Re: [xml-dev] Self-replicating XML

From
<>
To
"Costello, Roger L." <>, "" <>
Date
2013-10-16T20:09:33Z
ID
<>
Thread
Re: [xml-dev] Self-replicating XML
At 2013-10-16 20:01 +0000, Costello, Roger L. wrote:
>         A quine is a computer program which takes no input
>...
>     <xsl:template match="/">

Your stylesheet is taking in an input ... I suggest:

      <xsl:template name="start">

... so that it has no input.  I hope this helps.

. . . . . . . . Ken

p.s. I'm unsure about your question regarding an XML document ... it 
is a data file, it isn't a program ... when parsed the parsed result 
is abstract and would need to be serialized ... which process would 
be doing the serialization?


--
Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 |
Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/ |
G. Ken Holman                   mailto: |
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |