Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    annotation/documentation

    is it possible to edit as an html file the schema documentation ?
    <xs:annotation>
    <xs:documentation>

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,459
    Thanks
    1
    Thanked 23 Times in 21 Posts
    That would be implemented by the browser as an enhancement, I believe, and no browser I'm aware of supports that functionality.

    I could be wrong.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    XMLSpy pro-edition comes with an IE-plugin which might do that.

  • #4
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    enterprise

    I have the last xml spy enterprise edition, then I must look ...

    I think it will be praticle to edit a help file directly from xml <annotation>

    a propos ! Brothercake you were in time :-)) I had a look at your code sunday evening, to see your menu together with xml file, but I was surprised that you need a server langage to use it :-((

    I have a javascript (ticker something which works with xml witkout any server langage)

  • #5
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XML SPY

    I just found it now into XML SPY it works very well ! thank you

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: enterprise

    Originally posted by angiras
    I had a look at your code sunday evening, to see your menu together with xml file, but I was surprised that you need a server langage to use it :-((

    I have a javascript (ticker something which works with xml witkout any server langage)
    That's true ... it uses javsacript to import an XML "data island" - this is a propietary technique (IE only) and therefore (IMO) worthless. Server-side transformation is much better.

    The only client-side alternative would be something like

    <script src="custom.xml" ...

    where custom.xml has a stylesheet reference inside it and generates javascript; I tried that and it doesn't work; although I can't really explain why it doesn't work, I wasn't really expecting it to either.

    [sorry .. this is somewhat off topic - what I'm referring to is this]
    Last edited by brothercake; 02-04-2003 at 05:40 PM.

  • #7
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    and

    it works with IE6 Mozilla and Netscape and opera did a jump between the version 6 and 7 , we can hope the will include xml in the next one

    I have not really found on your documentatio what to download for exclusive xml , (I don't care for myself of opera)

    maybe you will be interrested for a component (DLL) with your menu, for asp net ? :-)) if yes ... I can manage it ....

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: and

    Originally posted by angiras
    it works with IE6 Mozilla and Netscape

    I stand corrected

    But even so - what your ticker is doing is extracting node information through the DOM and using it to create javascript variables; that would not be a suitable approach for my menu script - it has hundreds of variables - with the XML and DOM code together, you'd be looking at +50K of data, just to generate 10K of javascript.

    So IMO it would be pointless to do it client-side, even if it were possible x-browser. Nonetheless - you're welcome to try!
    Last edited by brothercake; 02-04-2003 at 05:51 PM.

  • #9
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ok

    yes I shall try it , I like your menu and was never good enough in javascript to do my own

    I think generating the javascript from the xml with asp net is quite easy, and shall keep this solutions, for asp net programmers they need more a component which write the javascript at the first call of the page


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •