This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: capturing variables or not?


:Hi Edward,

Hello Oliver and you can call me Eddy!

:> (Note: These are over simplified stylesheets, without any of 
:the bells and
:> whistles)
:
:I hope your simplification also dropped the namespace declaration.
:The namespace prefix "dppo" must be declared in your XML (preferably 
:in the top-level element), e.g.:
:xmlns:dppo="some-URI"

Well I declared the "dppo" in the stylesheet

:> <xsl:stylesheet
:> 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
:> 	version="1.0"
:> 	xmlns="http://www.w3.org/TR/REC-html40"
:> 	xmlns:fo="http://www.w3.org/1999/XSL/Format"
:>    result-ns="fo"
:> 	xmlns:dppo="file:/dev/null">
:

:Ok - here is such a declaration.
:But the used namespace "file:/dev/null" must be the same is in your XML
:source!
Yes they do have it buried within the top-element (among many attributes).

:In this case the template with match="dppo:document" will be applied.

So I should be able to match "dppo:document" or any of the other element 
nodes and display them properly? 

:BTW: what is result-ns? I believe the xsl:stylesheet element doesn't
:have an attribute like this.

I was using for the FO part of xsl but, I should take it out, since I'm not 
using it at all right now!

:Hope this helps,
:Oliver

Me too, thanks Oliver.

Eddy


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]