|
Subject: Can I access elements in the output tree? From: Peter Paulus <paulus@xxxxxxxx> Date: Fri, 27 Oct 2000 10:19:26 +0200 |
Hi,
Would it be possible to insert elements in the output tree and subsequently
access them? If so, would there be any restrictions?
Here is the general setup:
<?xml version='1.0' encoding='ISO-8859-1'?>
<xsl:transform version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
xmlns:qxml='urn:neroc:qxml'
xmlns='urn:neroc:qxml'
exclude-result-prefixes='#default qxml'
>
<xsl:output
method='xml'
encoding='ISO-8859-1'
omit-xml-declaration='no'
media-type='application/qxml'
/>
<xsl:template match='/'>
<xsl:element name='Name'>John Doe</xsl:element>
<xsl:message>
<xsl:value-of select='descendant-or-self::node()/Name'/>
</xsl:message>
</xsl:template>
</xsl:transform>
Xalan accepts this as a valid XSLT-document, but doesn't produce the desired
output.
With king regards,
Peter Paulus
Neroc Publishing Solutions
De Run 1131
5503 LB VELDHOVEN
The Netherlands
tel: +31-40-2586666
fax: +31-40-2541893
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [Fwd: XML to PDF], Lee Goddard | Thread | RE: Can I access elements in the ou, Kay Michael |
| Re: XSL Geek Resumes, Dimitre Novatchev | Date | Entity Reference Question, Albert Tsun |
| Month |