User Profile

Collapse

Profile Sidebar

Collapse
eb621
eb621
Last Activity: Jun 8 '09, 03:21 PM
Joined: May 15 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • eb621
    replied to XSL xmlns problem
    in XML
    I think that when I get a fulll set of data namespaces are going to be quite heavily used so I do need them.

    I guess I'll just remove the one that causes problems from the XML as it comes in...

    Thanks both of you for your advice on this...
    See more | Go to post

    Leave a comment:


  • eb621
    replied to XSL xmlns problem
    in XML
    It's early days and the datamodel is still being written and I have precious little sample data to go on but I'd say yes - things like the samples below are what I'm seeing...

    Code:
    <xref  xmlns:xlink="http://www.w3.org/TR/xlink/" xlink:type="simple" link:href="p4600B/>
    
    <graphic xmlns:ns1=http://xml.dummy.com/schema/lcr ns1:id="I3393df708bb611dcbdd2b4d3d31e5c5e"><caption>transport
    ...
    See more | Go to post

    Leave a comment:


  • eb621
    replied to XSL xmlns problem
    in XML
    Hi again,

    I tried that but that didn't work ...! I've played around with a few combos of what I had (just for that namespace) and it works if I remove it completely from the xml. It’s also OK if change it to xmlns:z in the xml and just xmlns in the xsl. It doesn’t seem to mind one way or the other what I have in the xsl.

    This means that I’ll have to do a bit or pre-processing to remove this from the...
    See more | Go to post

    Leave a comment:


  • eb621
    replied to XSL xmlns problem
    in XML
    I tried this (changing the default name space to a "z" namespace) and still have the problem (below)

    My understanding is that although it's convention to use the schema location for the name space it doesn't actually go off and look at the schema. I have a merry band of schemas that make the rules (64 to date) but this should be irrelevant?! In any case the dummy code I've given below is too simple for this to be an issue....
    See more | Go to post

    Leave a comment:


  • eb621
    replied to XSL xmlns problem
    in XML
    Hi,

    I may well be understanding this incorrectly... please see the dummy examples below

    I though that this - xmlns="http://xml.dummy.com/schema/analytical"- would give some sort of default

    If you run the xml as is through the xsl you don't get any of the (archaic) tagging in the xsl:text elements output but remove the xmlns atts from the document node of the xml and you do...

    ...
    See more | Go to post
    Last edited by Dormilich; May 21 '09, 07:28 PM. Reason: please use [code] tags when posting code

    Leave a comment:


  • eb621
    started a topic XSL xmlns problem
    in XML

    XSL xmlns problem

    Hi,

    I have an xsl transform to convert xml into another (non-standard) data structure. All is fine until I have an xml file with xmlns atts and then all I get is the element contents output with none of the tagging that I have written in. Remove the xmlns atts from the xml and all is fine. I’ve tried adding in the xmlns from the xml into the xsl:stylesheet element of the xsl but get the same result. This is the same run on xmlspy...
    See more | Go to post
No activity results to display
Show More
Working...