RE: [xsl] Re:

Subject: RE: [xsl] Re:
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Wed, 07 Jan 2004 10:49:01 +0000
But you can get some information about the document and its content if you
look inside the stylesheet and to the result.

If in this case we will have for instance the stylesheet as

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
    <xsl:template match="/">
        [<xsl:value-of select="test/a"/>]
        [<xsl:value-of select="test/b"/>]
    </xsl:template>
</xsl:stylesheet>

and the output:

[a]
[b]

Then you can infere that the initial document has test as root element and
at least two children a and b with content "a" and "b" respectivelly.

But the case is the same as with the XML file - you can't get to the XSL from the client.


If - for example - the processing of the XML file is done with ASP, then it is only the ASP that knows about the XML and the XSL. The output will be html. If the ASP file also got information from a SQL database, you would not expect to being able to get all the data in the SQL. The same applies to XML when transformed serverside.

Regards,
Ragulf :)

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread