Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. XML

XML

Scheduled Pinned Locked Moved XML / XSL
helphtmlagentic-aisecuritycollaboration
18 Posts 2 Posters 56 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OriginalGriffO OriginalGriff

    See wikipedia: XML - Wikipedia, the free encyclopedia[^]

    Quote:

    Tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]^`{|}~, nor a space character, and cannot begin with "-", ".", or a numeric digit.

    <patient employment>

    Contains a space.

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

    U Offline
    U Offline
    User 12697865
    wrote on last edited by
    #3

    I tried to write the code just like that and this and and I still get an error message. :confused:

    1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      See wikipedia: XML - Wikipedia, the free encyclopedia[^]

      Quote:

      Tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]^`{|}~, nor a space character, and cannot begin with "-", ".", or a numeric digit.

      <patient employment>

      Contains a space.

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      U Offline
      U Offline
      User 12697865
      wrote on last edited by
      #4

      I tried that but it did not work and I tried <patient_employment> and I tried <patientemployment> and I still got an error.

      OriginalGriffO 1 Reply Last reply
      0
      • U User 12697865

        I tried that but it did not work and I tried <patient_employment> and I tried <patientemployment> and I still got an error.

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #5

        And did you take a good look at the line below that as well?

        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        U 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          And did you take a good look at the line below that as well?

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          U Offline
          U Offline
          User 12697865
          wrote on last edited by
          #6

          Yes I did. But I still did not find any solutions to the error.

          OriginalGriffO 1 Reply Last reply
          0
          • U User 12697865

            Yes I did. But I still did not find any solutions to the error.

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #7

            And what did you see? I'll give you a clue:

                    <employer <information>Orlando Home Team</employer>
            

            What is that? Does it look well formed to you?

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            U 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              And what did you see? I'll give you a clue:

                      <employer <information>Orlando Home Team</employer>
              

              What is that? Does it look well formed to you?

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              U Offline
              U Offline
              User 12697865
              wrote on last edited by
              #8

              no, that does not look correct. This is how I wrote the code <employerinformation>Orlando Home Team></employerinfomation>

              OriginalGriffO 1 Reply Last reply
              0
              • U User 12697865

                no, that does not look correct. This is how I wrote the code <employerinformation>Orlando Home Team></employerinfomation>

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #9

                And that doesn't look right either...

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                U 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  And that doesn't look right either...

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  U Offline
                  U Offline
                  User 12697865
                  wrote on last edited by
                  #10

                  To this point I do not know what I am doing wrong. could you just please point out what I am doing wrong and how to fix it. I have been working on this for three days and I still could not figure it out. :(

                  OriginalGriffO 1 Reply Last reply
                  0
                  • U User 12697865

                    To this point I do not know what I am doing wrong. could you just please point out what I am doing wrong and how to fix it. I have been working on this for three days and I still could not figure it out. :(

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #11

                    Well, you could try:

                    <?xml version="1.0" encoding="utf-8"?>
                    <root>
                    <registration_form>
                    <name>Digestive and Endoscopy Medical Office MD</name>
                    <register>patient information</register>
                    <patient>Arijit Singh</patient>
                    <status>Single</status>
                    <birthdate>10/20/1987</birthdate>
                    <age>27</age>
                    <address>6216 GreatWater Dr, Windermer, FL 34786</address>
                    <home>(407)-987-2525</home>
                    <cell>(407)-288-9331</cell>
                    </registration_form>
                    <patient_employment>
                    <employer_information>Orlando Home Team</employer_information>
                    <occupation>Real Estate Agent</occupation>
                    <address>1300 e Michigan St, Orlando, FL 32812</address>
                    <employer>(407)-885-3539</employer>
                    <patient_employment>
                    <Insurance_Information>
                    <subscriber>Arijit Singh</subscriber>
                    <subscribers_SS>789-53-3407</subscribers_SS>
                    <group>DC2630</group>
                    <co-payment>$50</co-payment>
                    </Insurance_Information>
                    <In_Case_of_Emergency>
                    <name>Zina Kaur</name>
                    <relationship>fiancee</relationship>
                    <authorization>Arijit Singh</authorization>
                    </In_Case_of_Emergency>
                    </root>

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    U 2 Replies Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      Well, you could try:

                      <?xml version="1.0" encoding="utf-8"?>
                      <root>
                      <registration_form>
                      <name>Digestive and Endoscopy Medical Office MD</name>
                      <register>patient information</register>
                      <patient>Arijit Singh</patient>
                      <status>Single</status>
                      <birthdate>10/20/1987</birthdate>
                      <age>27</age>
                      <address>6216 GreatWater Dr, Windermer, FL 34786</address>
                      <home>(407)-987-2525</home>
                      <cell>(407)-288-9331</cell>
                      </registration_form>
                      <patient_employment>
                      <employer_information>Orlando Home Team</employer_information>
                      <occupation>Real Estate Agent</occupation>
                      <address>1300 e Michigan St, Orlando, FL 32812</address>
                      <employer>(407)-885-3539</employer>
                      <patient_employment>
                      <Insurance_Information>
                      <subscriber>Arijit Singh</subscriber>
                      <subscribers_SS>789-53-3407</subscribers_SS>
                      <group>DC2630</group>
                      <co-payment>$50</co-payment>
                      </Insurance_Information>
                      <In_Case_of_Emergency>
                      <name>Zina Kaur</name>
                      <relationship>fiancee</relationship>
                      <authorization>Arijit Singh</authorization>
                      </In_Case_of_Emergency>
                      </root>

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                      U Offline
                      U Offline
                      User 12697865
                      wrote on last edited by
                      #12

                      Thank you so much, I will try it and see if it will work.

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Well, you could try:

                        <?xml version="1.0" encoding="utf-8"?>
                        <root>
                        <registration_form>
                        <name>Digestive and Endoscopy Medical Office MD</name>
                        <register>patient information</register>
                        <patient>Arijit Singh</patient>
                        <status>Single</status>
                        <birthdate>10/20/1987</birthdate>
                        <age>27</age>
                        <address>6216 GreatWater Dr, Windermer, FL 34786</address>
                        <home>(407)-987-2525</home>
                        <cell>(407)-288-9331</cell>
                        </registration_form>
                        <patient_employment>
                        <employer_information>Orlando Home Team</employer_information>
                        <occupation>Real Estate Agent</occupation>
                        <address>1300 e Michigan St, Orlando, FL 32812</address>
                        <employer>(407)-885-3539</employer>
                        <patient_employment>
                        <Insurance_Information>
                        <subscriber>Arijit Singh</subscriber>
                        <subscribers_SS>789-53-3407</subscribers_SS>
                        <group>DC2630</group>
                        <co-payment>$50</co-payment>
                        </Insurance_Information>
                        <In_Case_of_Emergency>
                        <name>Zina Kaur</name>
                        <relationship>fiancee</relationship>
                        <authorization>Arijit Singh</authorization>
                        </In_Case_of_Emergency>
                        </root>

                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                        U Offline
                        U Offline
                        User 12697865
                        wrote on last edited by
                        #13

                        I tried it, but it did not validate it. :(

                        OriginalGriffO 1 Reply Last reply
                        0
                        • U User 12697865

                          I tried it, but it did not validate it. :(

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #14

                          What are you using to validate it?

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          U 1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            What are you using to validate it?

                            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                            U Offline
                            U Offline
                            User 12697865
                            wrote on last edited by
                            #15

                            I am using a website called xmlvalidation.com

                            OriginalGriffO 1 Reply Last reply
                            0
                            • U User 12697865

                              I am using a website called xmlvalidation.com

                              OriginalGriffO Offline
                              OriginalGriffO Offline
                              OriginalGriff
                              wrote on last edited by
                              #16

                              This passes for me:

                              <?xml version="1.0" encoding="utf-8"?>
                              <root>
                              <registration_form>
                              <name>Digestive and Endoscopy Medical Office MD</name>
                              <register>patient information</register>
                              <patient>Arijit Singh</patient>
                              <status>Single</status>
                              <birthdate>10/20/1987</birthdate>
                              <age>27</age>
                              <address>6216 GreatWater Dr, Windermer, FL 34786</address>
                              <home>(407)-987-2525</home>
                              <cell>(407)-288-9331</cell>
                              </registration_form>
                              <patient_employment>
                              <employer_information>Orlando Home Team</employer_information>
                              <occupation>Real Estate Agent</occupation>
                              <address>1300 e Michigan St, Orlando, FL 32812</address>
                              <employer>(407)-885-3539</employer>
                              </patient_employment>
                              <Insurance_Information>
                              <subscriber>Arijit Singh</subscriber>
                              <subscribers_SS>789-53-3407</subscribers_SS>
                              <group>DC2630</group>
                              <co-payment>$50</co-payment>
                              </Insurance_Information>
                              <In_Case_of_Emergency>
                              <name>Zina Kaur</name>
                              <relationship>fiancee</relationship>
                              <authorization>Arijit Singh</authorization>
                              </In_Case_of_Emergency>
                              </root>

                              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                              U 1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                This passes for me:

                                <?xml version="1.0" encoding="utf-8"?>
                                <root>
                                <registration_form>
                                <name>Digestive and Endoscopy Medical Office MD</name>
                                <register>patient information</register>
                                <patient>Arijit Singh</patient>
                                <status>Single</status>
                                <birthdate>10/20/1987</birthdate>
                                <age>27</age>
                                <address>6216 GreatWater Dr, Windermer, FL 34786</address>
                                <home>(407)-987-2525</home>
                                <cell>(407)-288-9331</cell>
                                </registration_form>
                                <patient_employment>
                                <employer_information>Orlando Home Team</employer_information>
                                <occupation>Real Estate Agent</occupation>
                                <address>1300 e Michigan St, Orlando, FL 32812</address>
                                <employer>(407)-885-3539</employer>
                                </patient_employment>
                                <Insurance_Information>
                                <subscriber>Arijit Singh</subscriber>
                                <subscribers_SS>789-53-3407</subscribers_SS>
                                <group>DC2630</group>
                                <co-payment>$50</co-payment>
                                </Insurance_Information>
                                <In_Case_of_Emergency>
                                <name>Zina Kaur</name>
                                <relationship>fiancee</relationship>
                                <authorization>Arijit Singh</authorization>
                                </In_Case_of_Emergency>
                                </root>

                                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                U Offline
                                U Offline
                                User 12697865
                                wrote on last edited by
                                #17

                                Thank you, thank you, thank you so very very much. It finally worked. Oh my gosh I have been stressing out with this code for so many days. I am very grateful that you took the time out to help me in every way possible. :-D :-D :-D

                                OriginalGriffO 1 Reply Last reply
                                0
                                • U User 12697865

                                  Thank you, thank you, thank you so very very much. It finally worked. Oh my gosh I have been stressing out with this code for so many days. I am very grateful that you took the time out to help me in every way possible. :-D :-D :-D

                                  OriginalGriffO Offline
                                  OriginalGriffO Offline
                                  OriginalGriff
                                  wrote on last edited by
                                  #18

                                  You're welcome!

                                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups