Results 1 to 2 of 2

Thread: Sources - id or name

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    England
    Posts
    14

    Sources - id or name

    A source element in 1.1 has two string attributes: id and name. Can I ask for clarification of what these two attributes are for?

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    re: id or name

    The id attribute acts like an HTML anchor. You can reference it from other places in the document. For example an <input> element refers to a <source> element using a URL fragment expression that consists of the id value.
    Code :
    <source id="somedata" name="anything" />
    <input source="#somedata" />

    The name attribute consists of XML name characters. They are user defined names that are independent of targetting or referencing.

Posting Permissions

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